#include "ALPBob.h"

CALPBob::CALPBob()
{
}

CALPBob::CALPBob(CALStepItem* pStepItem)
{
	m_pStepItem = pStepItem;
}

CALPBob::~CALPBob()
{
}

void CALPBob::test()
{

}
void CALPBob::convert()
{
	if (m_pStepItem == NULL) return;

	try
	{
		CALSIPBob* pStepItem = (CALSIPBob*)m_pStepItem;

		//int nThreshold = pStepItem->GetItemThreshold();

		//std::vector<KeyPoint> keyPoints;
		//Ptr<FastFeatureDetector> fast = FastFeatureDetector::create(nThreshold);
		//fast->detect(m_srcMat, keyPoints);

		//drawKeypoints(m_srcMat, keyPoints, m_dstMat, Scalar::all(255), DrawMatchesFlags::DEFAULT);

		SetDstType(AL_DST_None);
	}
	catch (...)
	{

	}
}

void CALPBob::convert(const Mat &src, Mat &dst)
{

}